<script setup lang="ts">
import { onMounted } from 'vue';
import { useAuthStore } from '#/store';

const authStore = useAuthStore();

onMounted(async () => {
  await authStore.logoutCallback();
});
</script>

<template>
  <div class="oidc-logout-callback">
    <div class="loading-text">正在处理登出请求...</div>
  </div>
</template>

<style scoped>
.oidc-logout-callback {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.loading-text {
  font-size: 16px;
  color: #666;
}
</style> 